package cn.com.surker.enums.weight;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * @Author lucky
 * @create 2023年04月21 14:26
 * @desc 过磅订单类型
 */
public enum DoorStatusEnum implements ICodeDescEnum {

    KX(0,"空闲"),
    KQ(1,"开启"),
    GB(2,"关闭"),
    SLZ(3,"上料中"),
    ;

    private final String description;

    private final Integer code;

    DoorStatusEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
